package cn.iocoder.yudao.module.pypm.controller.admin.comment.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 评论分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CommentPageReqVO extends PageParam {

    @Schema(description = "关系表ID", example = "17418")
    private Long relevanceId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "markdown原文")
    private String mkcontent;

    @Schema(description = "项目ID", example = "11379")
    private Long projectId;

    @Schema(description = "用户ID", example = "685")
    private Long userId;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "评论的父类ID", example = "5056")
    private Long parentId;

}